package com.xiaoshuidi.cloud.framework.systemevent.core.data;

import com.xiaoshuidi.cloud.framework.systemevent.core.LeaseSystemEventData;
import com.xiaoshuidi.cloud.framework.systemevent.core.LeaseSystemEventTypeEnum;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 房间预定事件数据对象
 */
@Data
@ToString(callSuper = true)
public class LeaseSystemEventBooking implements LeaseSystemEventData {
    /**
     * 预定记录id
     */
    private Long bookingId;
    /**
     * 预定门店id
     */
    private Long apartmentId;
    private Long apartmentName;
    /**
     * 预定
     */
    private Date bookingDate;
    private BigDecimal deposit;
    private Long userId;
    private Long tenantId;

    @Override
    public LeaseSystemEventTypeEnum getType() {
        return LeaseSystemEventTypeEnum.BOOKING;
    }

}
